<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

	<xsl:template match="sample/run">
		<xsl:value-of select="sampleXMLtag"/>
		&#160;<i>(<xsl:value-of select="sampleXMLtag/@date" />)</i>
		<br/><br/>

		<br/><br/>
		<form id="md5_form" action="/sample/ajaxMD5/">
			<gt>Text</gt>: <input type="text" name="text" />&#160;
			<input type="submit" value="Calculate MD5"/>
		</form>
		<div id="md5_result">&#160;</div>
		<script type="text/javascript" language="JavaScript">
			<xsl:comment><![CDATA[
				$('md5_form').addEvent('submit', function(e) {
					new Event(e).stop();
					this.send({update: $('md5_result')});
				});
			]]>//</xsl:comment>
		</script>

		<a href="#" onmouseover="scroll.toTop();" onmouseout="scroll.stop();">↑</a>|<a href="#" onmouseover="scroll.toBottom();" onmouseout="scroll.stop();">↓</a>
		<div id="container" style="margin: 5px auto; overflow: hidden; height: 60px; width: 600px; border: 1px solid #ddd; position: relative;">
			<xsl:apply-templates select="sqlTable"/>
		</div>
		<script type="text/javascript" language="JavaScript">
			<xsl:comment><![CDATA[
var scroll = new Fx.Scroll('container', {
	wait: false,
	fps: 100,
	transition: Fx.Transitions.Circ.easeInOut
});
			]]>//</xsl:comment>
		</script>
	</xsl:template>

</xsl:stylesheet>